package com.atguigu.gmall.list.Service;


import com.atguigu.gmall.model.list.SearchParam;
import com.atguigu.gmall.model.list.SearchResponseVo;

public interface SearchService {

    /**
     * 商品上架
     */
    void upperGoods(Long skuId);

    /**
     * 商品下架
     */
    void
    lowerGoods(Long skuId);

    /**
     * 更新热度
     */
    void incrHotScore(Long skuId);

    /**
     * 检索数据接口
     * @param searchParam
     * @return
     */
    SearchResponseVo search(SearchParam searchParam);
}
